<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MTB CAT1 Peripheral driver library: Functions</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MTB CAT1 Peripheral driver library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__group__ppc__functions.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Functions<div class="ingroups"><a class="el" href="group__group__ppc.html">PPC          (Peripheral Protection Controller)</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga7cb2b9ab023356a089dac47e5f8ca2e1"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__ppc__enums.html#ga82a3764ae2a9ac74cac4babe131990a0">cy_en_ppc_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ppc__functions.html#ga7cb2b9ab023356a089dac47e5f8ca2e1">Cy_Ppc_InitPpc</a> (PPC_Type *base, const <a class="el" href="structcy__stc__ppc__init__t.html">cy_stc_ppc_init_t</a> *ppcInit)</td></tr>
<tr class="memdesc:ga7cb2b9ab023356a089dac47e5f8ca2e1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the referenced ppc.  <a href="#ga7cb2b9ab023356a089dac47e5f8ca2e1">More...</a><br /></td></tr>
<tr class="separator:ga7cb2b9ab023356a089dac47e5f8ca2e1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gac77d7c37634242c28ca56d9f004c8f20"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__ppc__enums.html#ga82a3764ae2a9ac74cac4babe131990a0">cy_en_ppc_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ppc__functions.html#gac77d7c37634242c28ca56d9f004c8f20">Cy_Ppc_ConfigAttrib</a> (PPC_Type *base, <a class="el" href="structcy__stc__ppc__attribute__t.html">cy_stc_ppc_attribute_t</a> *attribute)</td></tr>
<tr class="memdesc:gac77d7c37634242c28ca56d9f004c8f20"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure the referenced ppc with the security and access attributes.  <a href="#gac77d7c37634242c28ca56d9f004c8f20">More...</a><br /></td></tr>
<tr class="separator:gac77d7c37634242c28ca56d9f004c8f20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga50ec447c3b7f59316428a0af5b77c019"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__ppc__enums.html#ga82a3764ae2a9ac74cac4babe131990a0">cy_en_ppc_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ppc__functions.html#ga50ec447c3b7f59316428a0af5b77c019">Cy_Ppc_SetPcMask</a> (PPC_Type *base, <a class="el" href="structcy__stc__ppc__pc__mask__t.html">cy_stc_ppc_pc_mask_t</a> *pcMaskConfig)</td></tr>
<tr class="memdesc:ga50ec447c3b7f59316428a0af5b77c019"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configure the PC mask for a given range of regions of referenced ppc.  <a href="#ga50ec447c3b7f59316428a0af5b77c019">More...</a><br /></td></tr>
<tr class="separator:ga50ec447c3b7f59316428a0af5b77c019"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1c768bd41e18db7958128aef5af50e34"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__ppc__enums.html#ga82a3764ae2a9ac74cac4babe131990a0">cy_en_ppc_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ppc__functions.html#ga1c768bd41e18db7958128aef5af50e34">Cy_Ppc_SetLockMask</a> (PPC_Type *base, uint32_t lockMask)</td></tr>
<tr class="memdesc:ga1c768bd41e18db7958128aef5af50e34"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the lock mask for the referenced ppc.  <a href="#ga1c768bd41e18db7958128aef5af50e34">More...</a><br /></td></tr>
<tr class="separator:ga1c768bd41e18db7958128aef5af50e34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga12497ea887fe684871feb174a5def53b"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__ppc__functions.html#ga12497ea887fe684871feb174a5def53b">Cy_Ppc_GetLockMask</a> (PPC_Type *base)</td></tr>
<tr class="memdesc:ga12497ea887fe684871feb174a5def53b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the lock mask value for the referenced ppc.  <a href="#ga12497ea887fe684871feb174a5def53b">More...</a><br /></td></tr>
<tr class="separator:ga12497ea887fe684871feb174a5def53b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga7cb2b9ab023356a089dac47e5f8ca2e1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7cb2b9ab023356a089dac47e5f8ca2e1">&#9670;&nbsp;</a></span>Cy_Ppc_InitPpc()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__ppc__enums.html#ga82a3764ae2a9ac74cac4babe131990a0">cy_en_ppc_status_t</a> Cy_Ppc_InitPpc </td>
          <td>(</td>
          <td class="paramtype">PPC_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structcy__stc__ppc__init__t.html">cy_stc_ppc_init_t</a> *&#160;</td>
          <td class="paramname"><em>ppcInit</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initializes the referenced ppc. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>Base address of ppc being configured</td></tr>
    <tr><td class="paramname">ppcInit</td><td>PPC initialization structure</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Initialization status </dd></dl>

</div>
</div>
<a id="gac77d7c37634242c28ca56d9f004c8f20"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gac77d7c37634242c28ca56d9f004c8f20">&#9670;&nbsp;</a></span>Cy_Ppc_ConfigAttrib()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__ppc__enums.html#ga82a3764ae2a9ac74cac4babe131990a0">cy_en_ppc_status_t</a> Cy_Ppc_ConfigAttrib </td>
          <td>(</td>
          <td class="paramtype">PPC_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structcy__stc__ppc__attribute__t.html">cy_stc_ppc_attribute_t</a> *&#160;</td>
          <td class="paramname"><em>attribute</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configure the referenced ppc with the security and access attributes. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>Base address of ppc being configured</td></tr>
    <tr><td class="paramname">attribute</td><td>PPC attribute configuration structure</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Initialization status </dd></dl>

</div>
</div>
<a id="ga50ec447c3b7f59316428a0af5b77c019"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga50ec447c3b7f59316428a0af5b77c019">&#9670;&nbsp;</a></span>Cy_Ppc_SetPcMask()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__ppc__enums.html#ga82a3764ae2a9ac74cac4babe131990a0">cy_en_ppc_status_t</a> Cy_Ppc_SetPcMask </td>
          <td>(</td>
          <td class="paramtype">PPC_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="structcy__stc__ppc__pc__mask__t.html">cy_stc_ppc_pc_mask_t</a> *&#160;</td>
          <td class="paramname"><em>pcMaskConfig</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configure the PC mask for a given range of regions of referenced ppc. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>Base address of ppc being configured</td></tr>
    <tr><td class="paramname">pcMaskConfig</td><td>PPC mask configuration structure</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Initialization status </dd></dl>

</div>
</div>
<a id="ga1c768bd41e18db7958128aef5af50e34"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1c768bd41e18db7958128aef5af50e34">&#9670;&nbsp;</a></span>Cy_Ppc_SetLockMask()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__ppc__enums.html#ga82a3764ae2a9ac74cac4babe131990a0">cy_en_ppc_status_t</a> Cy_Ppc_SetLockMask </td>
          <td>(</td>
          <td class="paramtype">PPC_Type *&#160;</td>
          <td class="paramname"><em>base</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>lockMask</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configures the lock mask for the referenced ppc. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>Base address of ppc being configured</td></tr>
    <tr><td class="paramname">lockMask</td><td>Mask value to be set</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Initialization status </dd></dl>

</div>
</div>
<a id="ga12497ea887fe684871feb174a5def53b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga12497ea887fe684871feb174a5def53b">&#9670;&nbsp;</a></span>Cy_Ppc_GetLockMask()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t Cy_Ppc_GetLockMask </td>
          <td>(</td>
          <td class="paramtype">PPC_Type *&#160;</td>
          <td class="paramname"><em>base</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reads the lock mask value for the referenced ppc. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">base</td><td>Base address of ppc being configured</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Mask value read </dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>MTB CAT1 Peripheral driver library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
